package dbtools.queries;

import dbtools.DBTransaction;
import dbtools.structures.DBField;
import dbtools.structures.DBTable;

public class SelectStatement {

	private DBField[] fields;
	private DBTransaction transaction;

	public SelectStatement(DBTransaction dbTransaction, DBField[] fields) {
		this.fields = fields;
		this.transaction = dbTransaction;
	}
	
	public FromClause from(DBTable...tables){
		return new FromClause(transaction,tables,fields);
	}

}
